package cn.jlkj2012.csmall.product.teacher.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

@Configuration//配置类
@MapperScan("cn.jlkj2012.csmall.product.teacher.mapper")//mapper的集合包
public class MybatisConfiguration {
    public MybatisConfiguration(){//配置类的构造方法
        System.out.println("创建配置类对象：MybatisConfiguration");
    }
}
